package  com.zerosky.crm.service;

import java.util.List;

import com.zerosky.crm.po.Relation;

/**Relation业务逻辑接口 
 * @author hugy;
 * @since 2017-06-09
 */
public interface RelationService {

	/**通过角色查找Relation数据接口 
	 * @author hugy;
	 * @since 2017-06-09
	 */
	public List<Relation> getRelationByRoleIdList(Integer RoleId);

	/**新增Relation数据接口
	 * @param Relation 实体对象
	 * @author hugy;
	 * @since 2017-06-09
	 */ 
	public void addRelation(List<Relation> list) throws Exception;
	
	/**根据角色ID删除Relation接口
	 * @param idArray Relation主键数组
	 * @author hugy;
	 * @since 2017-06-09
	 */
	public void deleteRelationById(Integer RoleId) throws Exception;
}
